-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add Mentions to draft messages #WPB-12062 #3687
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #3687 +/- ##
===========================================
- Coverage 45.57% 45.56% -0.01%
===========================================
Files 476 476
Lines 16105 16108 +3
Branches 2736 2736
===========================================
Hits 7340 7340
- Misses 7998 8001 +3
Partials 767 767
Continue to review full report in Codecov by Sentry.
|
Built wire-android-staging-compat-pr-3687.apk is available for download |
Built wire-android-dev-debug-pr-3687.apk is available for download |
app/src/main/kotlin/com/wire/android/ui/home/conversations/ConversationScreen.kt
Outdated
Show resolved
Hide resolved
Built wire-android-staging-compat-pr-3687.apk is available for download |
Built wire-android-dev-debug-pr-3687.apk is available for download |
) | ||
} | ||
|
||
if (draftMessageComposition.selectedMentions.isNotEmpty()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: shouldn't that have its own LaunchedEffect
to be executed every time when draftMessageComposition.selectedMentions
changes? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that is not necessary so far, as selectedMentions
is updated only with draftText
(in MessageDraftViewModel.loadMessageDraft()
)
please only merge in 4.11 |
Built wire-android-staging-compat-pr-3687.apk is available for download |
Built wire-android-dev-debug-pr-3687.apk is available for download |
After the switcharoo, we can merge to develop already
Quality Gate passedIssues Measures |
Built wire-android-staging-compat-pr-3687.apk is available for download |
Built wire-android-dev-debug-pr-3687.apk is available for download |
Co-authored-by: Yamil Medina <[email protected]>
What's new in this PR?
Issues
As a user when I type a message that have a mention and i go back to the conversation later to send the draft it should be sent with the mention.
Causes (Optional)
Mentions are saved in draft but never used.
Solutions
Check if draft contains mentions and use it if so